package com.shenmazong.factory;

/**
 * @program: server-java-demo
 * @description: FruitApplication
 * @author: 亮子说编程
 * @create: 2020-10-15 16:23
 **/
public class FruitApplication {

    public static void main(String[] args) {
        IFruit fruit = FruitFactory.createFruits(FruitFactory.TYPE_BANANA);
        fruit.doEat();
    }
}
